SmartPay\Modules\Payment\Payment A

Total Complexity 51
Dependencies 8
Dependents 2
Total lines 320
Lines of code 227
Logical lines of code 126
Comment lines 18
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
_get_payment_data()
A
40 14 60
ajax_process_payment()
A
53 8 22
insertPayment()
S
49 7 28
_process_gateway_payment()
S
59 5 13
_get_payment_customer()
S
53 4 23
onPaymentCancel()
S
67 4 7
_prepare_payment_data()
S
53 2 21
registerRestRoutes()
S
51 1 32
onPaymentComplete()
S
66 3 8
_checkValidation()
S
71 2 5
__construct()
S
66 1 8